package com.BEASTMODE.games.SpeedPong;

import com.BEASTMODE.libs.GamePanel;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Window;
import android.view.WindowManager;

public class SpeedPongActivity extends Activity 
{
	GamePanel Game;
	SpeedPong GameThread;
    @Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        Log.d("*******onCreate", "Created.");
        System.setProperty("java.net.preferIPv6Addresses", "false");
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
        GameThread = new SpeedPong(this);
        Game = new GamePanel(this, GameThread);
        setContentView(Game);
    }
}